package com.WISSC.bean;

import com.baomidou.mybatisplus.extension.activerecord.Model;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableField;
import java.io.Serializable;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;

/**
 * <p>
 * 赛事个人信息和赛事经历关联表
 * </p>
 *
 * @author 张凯
 * @since 2019-05-06
 */
@ApiModel(value="ExperienceUser对象", description="赛事个人信息和赛事经历关联表")
public class ExperienceUser extends Model<ExperienceUser> {

    private static final long serialVersionUID = 1L;

    @TableId("id")
    private Long id;

    @ApiModelProperty(value = "赛事日期")
    @TableField("match_time")
    private Long matchTime;

    @ApiModelProperty(value = "赛事名称")
    @TableField("match_name")
    private String matchName;

    @ApiModelProperty(value = "排名")
    @TableField("ranking")
    private Integer ranking;

    @ApiModelProperty(value = "积分")
    @TableField("integral")
    private Integer integral;

    @ApiModelProperty(value = "赛事个人信息关联id")
    @TableField("ind_id")
    private Long indId;
    @ApiModelProperty(value = "创建时间")
    @TableField("create_time")
    private Long createTime;

    public Long getCreateTime() {
        return createTime;
    }

    public void setCreateTime(Long createTime) {
        this.createTime = createTime;
    }

    public Long getId() {
        return id;
    }

    public void setId(Long id) {
        this.id = id;
    }
    public Long getMatchTime() {
        return matchTime;
    }

    public void setMatchTime(Long matchTime) {
        this.matchTime = matchTime;
    }
    public String getMatchName() {
        return matchName;
    }

    public void setMatchName(String matchName) {
        this.matchName = matchName;
    }
    public Integer getRanking() {
        return ranking;
    }

    public void setRanking(Integer ranking) {
        this.ranking = ranking;
    }
    public Integer getIntegral() {
        return integral;
    }

    public void setIntegral(Integer integral) {
        this.integral = integral;
    }
    public Long getIndId() {
        return indId;
    }

    public void setIndId(Long indId) {
        this.indId = indId;
    }

    @Override
    protected Serializable pkVal() {
        return this.id;
    }

    @Override
    public String toString() {
        return "ExperienceUser{" +
        "id=" + id +
        ", matchTime=" + matchTime +
        ", matchName=" + matchName +
        ", ranking=" + ranking +
        ", integral=" + integral +
        ", indId=" + indId +
        ", createTime=" + createTime +
        "}";
    }
}
